<%
var headContent = {
	include("/pages/template/head.html"){}
};
%>

<%
var bodyContent = {
%>
<form name="form1" action="" method="post" class="form-horizontal" role="form">
	<!-- 数据列表 -->
		<!-- 数据列表 -->
	<table class="table table-striped table-bordered table-hover">
		<thead>
		<tr>
			<th>序号</th>
			<%  // 列表头部 %>
			<th style="display:none" name="ids" >ids</th>
			<th name="discount" >折扣</th>
			<th name="begin_time">折扣开始时间</th>
			<th name="end_time" >折扣结束时间</th>
			<th name="create_time" >创建时间</th>
		</tr>
		</thead>
		<tbody>
		<% for(item in userProsDiscountInfolist){ %>
		<tr>
			<td>${itemLP.index }</td>
			<%  // 列表内容 %>
			<td>${item.discount}</td>
			<td>${item.begin_time}</td>
			<td>${item.end_time}</td>
			<td>${item.create_time}</td>
		</tr>
		<% } %>
		</tbody>
	</table>

	<div style="height: 50px;clear: both;">&nbsp;</div>
	<nav class="navbar navbar-default navbar-fixed-bottom">
		<div class="container" style="padding: 5px 0px 5px 0px;text-align: center;">
			<button class="btn btn-default" onclick="closeIframe();return false;">关 闭</button>
		</div>
	</nav>
</form>
<%}; %>

<% layout("/pages/template/_layout.html",{head:headContent,body:bodyContent}){ %>
<%} %>